//
//  BackgroundToolbar.m
//  EditImage
//
//  Created by Ngoc on 24/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "BackgroundToolbar.h"


@implementation BackgroundToolbar

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        self.opaque = NO;
        self.translucent = YES;
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/
-(void) drawRect:(CGRect)rect
{
//    [[UIColor clearColor]set];
//    //CGContextFillRect(UIGraphicsGetCurrentContext(), rect);
//    CGContextClearRect(UIGraphicsGetCurrentContext(), rect);
}
- (void)dealloc
{
    [super dealloc];
}

@end
